<?php
 /**
  *
  * motionWeb | A webUI for motion.
  * Copyright (c) 2010-2011 Kyle Hotchkiss Productions
  * Licensed under the GPL.
  *
  */
  
 if (!defined('motionWeb')) header('Location: /');
 
 $motionWeb = new motionWeb();
 $path = $motionWeb->baseurl();
?>
<!DOCTYPE html>
<html>
 <head>
  <title>
   motionWeb | <?php echo $view; ?>
  </title>
  <link type="text/css" href="<?php echo $path; ?>app/styles/main.css" rel="stylesheet" />
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
  <script type="text/javascript" src="<?php echo $path; ?>app/scripts/main.js"></script>
 </head>
 <body>
  <div id="box">
   <div id="header">
    <ul id="menus">
     <li class="motionWeb">
      <a href="<?php echo $path; ?>">motion<strong>Web</strong> <span class="version">(<?php echo constant("motionWeb"); ?>)</span></a>
     </li><li class="link last">
      <a href="<?php echo $path; ?>preferences/">motion preferences</a>
     </li><li class="link">
      <a href="<?php echo $path; ?>status/">system status</a>
     </li><li class="link">
      <a href="<?php echo $path; ?>events/">view events</a>
     </li><li class="link first">
      <a href="<?php echo $path; ?>cameras/">monitor cameras</a>
     </li>
    </ul>
   </div>